package cn.yedong.user.mapper;

import cn.yedong.basic.BaseMapper.BaseMapper;
import cn.yedong.user.domain.User;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yedong
 * @since 2023-02-10
 */
public interface UserMapper extends BaseMapper<User> {
    //根据手机号查询user
    User findByPhone(String phone);
    //根据手机号查询user
    User findByEmail(String email);
}
